home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / fat.zip / FAT.DOC next >
Text File  |  1986-09-13  |  7KB  |  192 lines

  1.  
  2.                                    FAT 1.01
  3.                                    ---------
  4.  
  5.         FAT is a simple program that can be used to display the chain of
  6.         clusters (disk allocation units) that belong to a disk file, to
  7.         determine which file "owns" a specified cluster or sector,
  8.         and to display general information about a disk.
  9.  
  10.         FAT is a passive program, that is, it does not perform any
  11.         functions that alter disk data.  It is an inquiry program only.
  12.  
  13.  
  14.         Syntax summary
  15.         --------------
  16.  
  17.             fat filespec [/D] [/H] [/I]     (display chain)
  18.             fat [d:] /Cn [/D] [/H] [/I]     (owner of cluster n)
  19.             fat [d:] /Sn [/D] [/H] [/I]     (owner of sector n)
  20.             fat [d:] /I                     (disk info only)
  21.  
  22.         Switches:
  23.  
  24.             /C  Cluster owner
  25.             /D  Decimal output
  26.             /H  Hex output
  27.             /I  info
  28.             /S  Sector owner
  29.  
  30.         The commands are detailed below.
  31.  
  32.  
  33.         Displaying the cluster chain for a file or directory
  34.         ----------------------------------------------------
  35.  
  36.         The syntax for this function is:
  37.  
  38.                 fat [d:]path
  39.                 fat [d:][path]file
  40.  
  41.         If only a path (and optional drive) is present, the chain of
  42.         clusters belonging to the subdirectory file itself is displayed.
  43.         If a filename is present, the chain of clusters belonging to the
  44.         named file is displayed.  The filename may contain wildcards, in
  45.         which case the chain for all matching files will be displayed.
  46.  
  47.         Examples:
  48.  
  49.             fat c:\dir              ; Display chain for c:\dir itself,
  50.                                     ; i.e., which clusters does the
  51.                                     ; subdirectory file occupy.
  52.  
  53.             fat c:\dir\file1.txt    ; Display chain for file1.txt
  54.  
  55.             fat c:\dir\*.*          ; Display chain for all files
  56.                                     ; in c:\dir
  57.  
  58.         FAT interprets missing portions of the filename to be equivalent
  59.         to "*".  Thus:
  60.  
  61.             fat *       == fat *.*
  62.             fat foo     == fat foo.*
  63.             fat foo*    == fat foo*.*
  64.  
  65.         If you wish to display the chain for file "foo", but not
  66.         "foo.txt", use an explicit ".", as in:
  67.  
  68.             fat foo.
  69.  
  70.  
  71.         Finding the owner of a cluster or sector
  72.         ----------------------------------------
  73.  
  74.         The syntax for this function is:
  75.  
  76.             fat [d:] /Cn            ; Find owner of cluster N
  77.             fat [d:] /Sn            ; Find owner of sector N
  78.  
  79.         For example:
  80.  
  81.             fat /C160               ; Find owner of cluster 160
  82.  
  83.             fat b: /C112H           ; Find owner of cluster 112H
  84.                                     ; on drive B.
  85.  
  86.             fat /S14D               ; Find owner of sector 014DH
  87.  
  88.         See below for more information on how the input numbers are
  89.         interpreted (as decimal or hex).
  90.  
  91.  
  92.         Disk information
  93.         ----------------
  94.  
  95.         You can append /I (Info) to any FAT command to display general
  96.         information about the selected disk.  You can also run FAT with
  97.         only a /I parameter (and optional drive) to just display the
  98.         information.
  99.  
  100.         Examples:
  101.  
  102.             fat /I                  ; Info about default drive
  103.             fat B: /I               ; Info about drive B
  104.             fat c:\foo/i            ; Chain for foo, plus info
  105.             fat /i /c166            ; Owner of cluster 166H, plus info
  106.  
  107.  
  108.         Input radix
  109.         -----------
  110.  
  111.         Cluster and sector numbers for the /C and /S parameters are
  112.         assumed to be decimal, unless the numbers contain a hex digit
  113.         (A-F) or are suffixed with an 'H':
  114.  
  115.             /c119       ; decimal
  116.             /s11A       ; hex
  117.             /c116H      ; hex
  118.  
  119.  
  120.         Output radix
  121.         ------------
  122.  
  123.         The output radix defaults to the input radix; that is, if your
  124.         sector or cluster is input in decimal, the output will be
  125.         displayed in decimal.  Where there is no numeric input (for
  126.         example, "fat c:*.*"), decimal is assumed.
  127.  
  128.         You can specify an explicit output radix by using the /H (hex)
  129.         or /D (decimal) switches:
  130.  
  131.             fat /c116 /h    ; Input decimal, output hex
  132.             fat /s12A /d    ; Input hex, output decimal
  133.             fat c:*.sys     ; No input, output decimal
  134.             fat c:*.sys /h  ; No input, output hex
  135.  
  136.         Output radix has no effect on the /Info display, which is mostly
  137.         decimal.
  138.  
  139.  
  140.         Revision history
  141.         ----------------
  142.  
  143.         Version 1.02 - 9/13/86
  144.             First public release
  145.  
  146.  
  147.         Copyright/License/Warranty
  148.         --------------------------
  149.  
  150.         This document and the program file FAT.EXE ("the software") are
  151.         copyrighted by the author.  The copyright owner hereby licenses
  152.         you to: use the software; make as many copies of the program and
  153.         documentation as you wish; give such copies to anyone; and
  154.         distribute the software and documentation via electronic means.
  155.         There is no charge for any of the above.
  156.  
  157.         However, you are specifically prohibited from charging, or
  158.         requesting donations, for any such copies, however made; and
  159.         from distributing the software and/or documentation with
  160.         commercial products without prior permission.  An exception is
  161.         granted to not-for-profit user's groups, which are authorized to
  162.         charge a small fee (not to exceed $7) for materials, handling,
  163.         postage, and general overhead.  NO FOR-PROFIT ORGANIZATION IS
  164.         AUTHORIZED TO CHARGE ANY AMOUNT FOR DISTRIBUTION OF COPIES OF
  165.         THE SOFTWARE OR DOCUMENTATION, OR TO INCLUDE COPIES OF THE
  166.         SOFTWARE OR DOCUMENTATION WITH SALES OF THEIR OWN PRODUCTS.
  167.  
  168.         THIS INCLUDES A SPECIFIC PROHIBITION AGAINST FOR-PROFIT
  169.         ORGANIZATIONS DISTRIBUTING THE SOFTWARE, EITHER ALONE OR WITH
  170.         OTHER SOFTWARE, AND CHARGING A "HANDLING" OR "MATERIALS" FEE OR
  171.         ANY OTHER SUCH FEE FOR THE DISTRIBUTION.  NO FOR-PROFIT
  172.         ORGANIZATION IS AUTHORIZED TO INCLUDE THE SOFTWARE ON ANY MEDIA
  173.         FOR WHICH MONEY IS CHARGED.  PERIOD.
  174.  
  175.         There is no restriction on the use of this software in
  176.         commercial or institutional environments.
  177.  
  178.         No copy of the software may be distributed or given away without
  179.         this document; and this notice must not be removed.
  180.  
  181.         There is no warranty of any kind, and the copyright owner is not
  182.         liable for damages of any kind.  By using this free software,
  183.         you agree to this.
  184.  
  185.         The software and documentation are:
  186.  
  187.                              Copyright (c) 1986 by
  188.                             Christopher J. Dunford
  189.                            10057-2 Windstream Drive
  190.                            Columbia, Maryland 21044
  191.                                 (301) 992-9371
  192.